<?php
	session_start();
	require 'libs/seguridad.php';
	require 'libs/smarty-2.6.22/Smarty.class.php';
	require 'libs/db.php';
	require 'clases/AnotacionCalendario.class.php';
	
	$smarty = new Smarty;
	$calendario = new AnotacionCalendario($db);
	$calendario->setUsuId($_SESSION['id_usu']);
	$calendario = $calendario->getCalendario();
	
	//$smarty->compile_check = true;
	//$smarty->debugging = true;
	$smarty->assign("calendario",$calendario);
	$smarty->display('modulos/calendario.tpl');
?>